                        <div class="">
                        <h1>تعديل سند صرف</h1>
                        <hr />
                        <form name="editRecpit" method="POST" action="editPayment.php">
                        <div class="bookings-edit-container">
                        <div class="bookings-edit-row">
                        <table class="edit-bookings-table">
                            	<tr>
                                    <td>التاريخ</td>
                                    <td>:&nbsp;<input readonly required type="text" class="small-input date-1-miladi" name="date" id="date-miladi" placeholder="" value="<?php echo  $payment['miladi_date'];?>" /></td>
                                    <td>رقم السند</td>
                                    <td>:&nbsp;<?php echo  $payment['payment_id'];?></td>
                                </tr>
                               <tr>
                                    <td>الموافق</td>
                                    <td class="hijri-date-1">:&nbsp; <?php echo $payment['Hijri_date'] ;?></td>
                                    <td><input type="hidden" name="contract_id" class="contract_id small-input " value="<?php echo $payment['contract_id'] ;?>"/>
                                    <input type="hidden" name="payment_id" class="contract_id small-input " value="<?php echo $payment['payment_id'] ;?>"/>
                                    </td>
                                    <td><input type="hidden" name="hijri-date" id="hijri-date-1" value="<?php echo $payment['Hijri_date'] ;?>"/> </td>
                                </tr>
                                 <tr>
                                    <td>أمين الصندوق</td>
                                    <td>:&nbsp;<?php echo $payment['amen_sondoq'] ;?></td>
                                </tr>
                                <tr>
                                	<td>المستلم</td>
                                    <td>::&nbsp;<input type="text" required class="small-input" name="recipient" id="" placeholder="" value="<?php echo $payment['recipient'] ;?>"/></td>
                                </tr>
                                <tr>
                                	<td>المبلغ </td>
                                    <td>:&nbsp;<input type="text" class="auto-input amout-paid-1" name="amount" value="<?php echo $payment['amount'] ;?>"/></td>
                                    <td>طريقة الدفع</td>
                                    <td>:&nbsp;
                                    <select required class="small-select" name="type">
                                       <?php if($payment['paymen_method'] == 0){ ?>
                                        <option selected="selected" value="0">نقدى</option>
                                      <?php }else{ ?>
                                        <option value="0">نقدى</option>
                                      <?php }if($payment['paymen_method'] == 1){ ?>
                                        <option selected="selected" value="1">حوالة بنكية</option>
                                       <?php }else{ ?>
                                        <option value="1">حوالة بنكية</option>
                                       <?php } ?>
                                    </select>
                                    </td>
                                </tr>
                                <tr>
                                	<td>من أجل</td>
                                    <td>:&nbsp;<input required type="text" class="auto-input" name="reason" value="<?php echo $payment['reason']; ?>" /></td>
                                </tr>
                                <tr>
                                	<td>ملاحظات </td>
                                    <td><p class="text-right"><textarea id="" class="" style="" tabindex="19" cols="20" rows="2" name="notes" value="<?php echo $payment['notes']; ?>"></textarea></p></td>
                                </tr>
                         </table>       
                        </div>
                        <div class="save-botton">حفظ</div>
                        </div>
                        </form>
                      </div>  
